package com.company;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Spliterator;
import java.util.function.Consumer;

/**
 * @author VX5
 * @Title: MJC
 * @ProjectName DataStructure
 * @Description: TODO
 * @date ${DAT}18:09
 */
public class MyArrayList<T> implements Iterable<T> {
    private T[] theItems;
    private int theSize;
    private static final int DEAULT_CAPACITY = 10;

    public MyArrayList() {
        theSize = 0;
    }

    List<Integer> list = new ArrayList<>();
    @Override
    public Iterator<T> iterator() {
        return null;
    }

    @Override
    public void forEach(Consumer<? super T> action) {

    }

    @Override
    public Spliterator<T> spliterator() {
        return null;
    }
}
